package com.battle.service.service.in;

import nirvana.core.domains.vo.PageResult;
import com.battle.pojo.param.searchRecord.*;
import com.battle.pojo.vo.searchRecord.*;

import java.util.List;


/**
 * 【描 述】：搜索记录服务
 * 【环 境】：J2SE
 * 【详 细】：
 */
public interface SearchRecordService {

    /**
     * 创建搜索记录
     *
     * @param param
     */
    void createSearchRecord(CreateSearchRecordParam param);

    /**
     * 修改搜索记录
     *
     * @param param
     */
    void editSearchRecord(EditSearchRecordParam param);

    /**
     * 移除搜索记录
     *
     * @param id
     */
    void removeSearchRecord(Long id);

    /**
     * 启动/禁用搜索记录
     *
     * @param id
     */
    void enabledSearchRecord(Long id);

    /**
     * 获取搜索记录详情
     *
     * @param id
     * @return
     */
    GetSearchRecordVo getSearchRecord(Long id);

    /**
     * 获取搜索记录列表
     *
     * @param param
     * @return
     */
    PageResult<GetSearchRecordListVo> getSearchRecordList(GetSearchRecordListParam param);


    /**
     * 获取搜索记录下拉列表
     *
     * @param param
     * @return
     */
    List<GetSearchRecordDownListVo> getSearchRecordDownList(GetSearchRecordDownListParam param);


}